//
//  AppDelegate.swift
//  WeiBo
//
//  Created by Wishing.Star on 2017/1/9.
//  Copyright © 2017年 Wishing.Star. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        
        //实例化窗口
        window = UIWindow()
        window?.backgroundColor = UIColor.white
        
        //添加根控制器
        window?.rootViewController = MainViewController()
        //显示窗口
        window?.makeKeyAndVisible()
        
        return true
    }


}

